export const components = [
  {
    type: "input",
    name: '单行文本',
    icon: "icon-input",
    options: {
      wrapperCol: 22,
      labelCol: 2,
      width: '100%',
      defaultValue: "",
      required: false,
      dataType: "string",
      placeholder: "",
      disabled: false,
    },
  },
  {
    type: 'textarea',
    name: '多行文本',
    icon: 'icon-diy-com-textarea',
    options: {
      wrapperCol: 22,
      labelCol: 2,
      width: '100%',
      defaultValue: '',
      rows: 4,
      required: false,
      disabled: false,
      placeholder: ''
    }
  },
  {
    type: 'radio',
    name: '单选框组',
    icon: 'icon-radio-active',
    options: {
      wrapperCol: 22,
      labelCol: 2,
      width: '100%',
      defaultValue: '',
      options: [
        {
          value: 'Option 1',
          label: 'Option 1'
        },
        {
          value: 'Option 2',
          label: 'Option 2'
        },
        {
          value: 'Option 3',
          label: 'Option 3'
        }
      ],
      required: false,
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      disabled: false,
    }
  },
  {
    type: 'checkbox',
    name: '多选框组',
    icon: 'icon-check-box',
    options: {
      wrapperCol: 22,
      labelCol: 2,
      width: '100%',
      defaultValue: [],
      options: [
        {
          value: 'Option 1',
          label: 'Option 1'
        },
        {
          value: 'Option 2',
          label: 'Option 2'
        },
        {
          value: 'Option 3',
          label: 'Option 3'
        }
      ],
      required: false,
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      disabled: false,
    }
  },
];
export const layoutComponents = [
  {
    type: 'grid',
    icon: 'icon-grid',
    name: '栅格布局',
    columns: [
      {
        span: 12,
        list: []
      },
      {
        span: 12,
        list: []
      }
    ],
    options: {
      gutter: 0,
      justify: 'start',
      align: 'top'
    }
  }
]
